package com.tmc.bean.inthotel.hotel;

import java.io.Serializable;

public class CityLocation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6158151231433186240L;
	private Integer cityLocationId;
	private String location;
	private String locationCN;
	private String cityCode;
	private String cityName;
	private String cityNameCN;
	private Integer elementType;
	private Integer destinationId;
	private String providerCode;
	private String status;
	private String destinationCode;
	private Integer cityDestinationId;
	private String enabledFlag;
	
	public Integer getCityLocationId() {
		return cityLocationId;
	}
	public void setCityLocationId(Integer cityLocationId) {
		this.cityLocationId = cityLocationId;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getCityCode() {
		return cityCode;
	}
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}
	public String getCityNameCN() {
		return cityNameCN;
	}
	public void setCityNameCN(String cityNameCN) {
		this.cityNameCN = cityNameCN;
	}
	public Integer getElementType() {
		return elementType;
	}
	public void setElementType(Integer elementType) {
		this.elementType = elementType;
	}
	public Integer getDestinationId() {
		return destinationId;
	}
	public void setDestinationId(Integer destinationId) {
		this.destinationId = destinationId;
	}
	public String getProviderCode() {
		return providerCode;
	}
	public void setProviderCode(String providerCode) {
		this.providerCode = providerCode;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDestinationCode() {
		return destinationCode;
	}
	public void setDestinationCode(String destinationCode) {
		this.destinationCode = destinationCode;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getLocationCN() {
		return locationCN;
	}
	public void setLocationCN(String locationCN) {
		this.locationCN = locationCN;
	}
	public Integer getCityDestinationId() {
		return cityDestinationId;
	}
	public void setCityDestinationId(Integer cityDestinationId) {
		this.cityDestinationId = cityDestinationId;
	}
	public String getEnabledFlag() {
		return enabledFlag;
	}
	public void setEnabledFlag(String enabledFlag) {
		this.enabledFlag = enabledFlag;
	}
	@Override
	public boolean equals(Object obj) {
	    if (obj instanceof CityLocation) {
	    	CityLocation h = (CityLocation) obj;
	        return (location.equals(h.location));
	    }
	    return false;
    }
}
